package com.clwl.supervise.superviseapp.entity.pro;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

@Getter
@Setter
@TableName("tc_company")
public class JgTcCompany implements Serializable{

    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 是否删除：0-否，1-是
     */
    @TableField(value = "DELETE_FLAG")
    private Long deleteFlag;

    /**
     * 企业生产经营地址
     */
    @TableField(value = "ADDRESS")
    private String address;

    /**
     * 经营范围(经营项目)
     */
    @TableField(value = "BUSINESS_SCOPE")
    private String businessScope;


    @TableField(value = "BUSINESS_SCOPE_CODE")
    private String businessScopeCode;


    @TableField(value = "SPLBBH")
    private String splbbh;


    @TableField(value = "SPLBMC")
    private String splbmc;


    /**
     * 企业名称
     */
    @TableField(value = "COMPANY_NAME")
    private String companyName;

    /**
     * 联系人
     */
    @TableField(value = "CONTACT")
    private String contact;

    /**
     * 联系电话
     */
    @TableField(value = "CONTACT_PHONE")
    private String contactPhone;

    /**
     * 统一会社信用代码
     */
    @TableField(value = "CREDIT_CODE")
    private String creditCode;

    /**
     * 企业法人
     */
    @TableField(value = "LEGAL_PERSON")
    private String legalPerson;

    /**
     * 经营状态：0正常，1异常
     */
    @TableField(value = "MANAGE_STATUS")
    private String manageStatus;

    /**
     * 监管机构id
     */
    @TableField(value = "DEPT_ID")
    private Long deptId;

    /**
     * 监管机构名称
     */
    @TableField(value = "DEPT_NAME")
    private String deptName;

    /**
     * 监管机构区局id
     */
    @TableField(value = "DEPT_QU_ID")
    private Long deptQuId;

    /**
     * 监管机构区局名称
     */
    @TableField(value = "DEPT_QU_NAME")
    private String deptQuName;


    @TableField(value = "DFL")
    private Double dfl;

    private String license;

    private String lngLat;

    /** 风险等级(企业分类)：A、B、C、D、E */
    private String riskLevel;


    @TableField(exist = false)
    private String processName;

    /**
     * 检查年份
     */
    @TableField(exist = false)
    private String year;


    /**
     * 操作权限
     */
    @TableField(exist = false,value = "IS_AUTHORITY")
    private String isAuthority;


    /**
     * 操作权限
     */
    @TableField(exist = false,value = "RATING_DATE")
    private String ratingDate;


    /**
     * 操作权限
     */
    @TableField(exist = false,value = "SERIAL_NUM")
    private String serialNum;

    /**
     * 检查结果
     */
    @TableField(exist = false,value = "CHECK_RESULT")
    private String checkResult;

    @TableField(exist = false,value = "handle_result")
    private String handleResult;


    /**
     * 检查结果ID
     */
    @TableField(exist = false)
    private String checkId;

    /**
     * 检查距离限制
     */
    @TableField(exist = false)
    private Double distance;

    /**
     * 日常检查任务数据集合
     */
    @TableField(exist = false)
    private List<JgProCompanyDailyScore> dailyScoreList ;

}
